package com.zzt.cps.utils;

import java.util.HashMap;
import java.util.Map;

import com.zzt.cps.sdk.wxweb.bean.WxWebRNCache;

/**
 * Copyright: Copyright (c) 2018  zteits
 *
 * @ClassName: com.zzt.cps.sdk.wxweb.bean
 * @Description: 微信缓存信息
 * @version: v1.0.0
 * @author: atao
 * @date: 2018/7/4   下午4:19
 * Modification History:
 * Date         Author          Version      Description
 * ---------------------------------------------------------*
 * 2018/7/4      atao          v1.0.0          创建
 */
public class WxWebCacheUtil {

    private static final Map<String,WxWebRNCache> cache = new HashMap<>();

    private WxWebCacheUtil() {

    }

    /**
     * 获取微信web缓存信息
     * @param appId 登录的WxWeb appId
     * @return
     */
    public static WxWebRNCache getWxWebRNCacheInfo(String appId){
        return cache.get(appId);
    }
}
